import VueRouter from "vue-router"
import Vue from "vue"
import Home from "@/pages/Home"
import Login from "@/pages/Login"

Vue.use(VueRouter)


const router = new VueRouter({
    mode: "history",
    routes: [{
        path: "/home",
        component: Home
    }, {
        path: "/login",
        component: Login
    }]
})


export default router